#include <string>
#include <boost/regex.hpp>
#include "IntegrityDatas.h"

bool IntegrityDatas::checkLogin(const std::string &login)
{
  const boost::regex e("[a-zA-Z0-9]+");
  return (regex_match(login, e));
}

bool IntegrityDatas::checkPass(const std::string &pass)
{
  return checkLogin(pass);
}
